Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windsock kafka fix routing #1417

Merged
merged 2 commits into from
Feb 21, 2024
Merged

Conversation

rukai
Copy link
Member

@rukai rukai commented Jan 10, 2024

Blocked on #1419

Need to use unique keys to ensure spread across topology3 cluster, otherwise it all gets routed to a single node

Strangely the bug that I was previously also able to reproduce in #1427 is now only reproducible in the topology=3 benches with this PR.
However I've now tracked down the cause of the issue and fixed it here.
I was indexing into a vector that wasnt actually sorted.
Sorting the vector at time of creation allows us to continue indexing into as we were before but its actually guaranteed to work now. The sort only occurs when processing metadata messages so it should be fine performance wise.

The windsock results clearly show an improvement for benches with and without shotover:
image

Unfortunately the shotover benches are now growing a backlog:
image

This represents an improvement to the way we bench shotover, so no need to block on the backlog increase.
I should investigate it in the future though.

@rukai rukai force-pushed the windsock_kafka_fix_routing branch 5 times, most recently from e0cc667 to 08af0f4 Compare January 11, 2024 05:08
@rukai rukai mentioned this pull request Jan 11, 2024
@rukai rukai force-pushed the windsock_kafka_fix_routing branch 2 times, most recently from 734bfc3 to c6b3530 Compare February 20, 2024 04:43
@rukai rukai marked this pull request as ready for review February 20, 2024 07:06
@rukai rukai requested a review from conorbros February 20, 2024 07:06
@conorbros conorbros enabled auto-merge (squash) February 21, 2024 01:23
@conorbros conorbros merged commit 1b4c3e8 into shotover:main Feb 21, 2024
40 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants